package com.qd.common.flow.domain.approval;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 创建流程
 *
 * @author sjk
 * @create 2024-02-21 13:38
 * @since 1.0.0
 */
@Data
public class FlowDTO {
    /**
     * 流程编码
     */
    private String processCode;
    /**
     * 业务ID
     */
    private String bid;
    /**
     * 任务名称
     */
    private String taskName;
    /**
     * 流程发起人
     */
    private String processUserName;
    /**
     * 流程发起组织
     */
    private String processOrgName;
    /**
     * 流程发起人ID
     */
    private String processUserId;
    /**
     * 流程发起组织ID
     */
    private String processOrg;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 操作类型
     */
    private String operatorType;

    public void freeData() {
        this.processCode = null;
        this.bid = null;
        this.taskName = null;
        this.processUserName = null;
        this.processOrgName = null;
        this.processUserId = null;
        this.processOrg = null;
        this.createTime = null;
        this.operatorType = null;
    }
}